package com.baidu.health.service;

import com.baidu.health.mapper.TbOrderItemMapper;
import com.baidu.health.mapper.TbOrderMapper;
import com.baidu.health.pojo.TbOrder;
import com.baidu.health.pojo.TbOrderItem;
import com.baidu.health.util.PageResult;
import com.baidu.health.util.ResultObject;
import com.baidu.health.utils.IdWorker;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;



import com.baidu.health.pojo.Cart;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.StringUtils;

import java.math.BigDecimal;
import java.util.*;

@Service
public class OrderService {


    @Autowired
    TbOrderMapper orderMapper;

    @Autowired
    TbOrderItemMapper orderItemMapper;
    @Autowired
    RabbitTemplate rabbitTemplate;

    @Autowired
    CartService cartService;



}
